﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="ChangeCollectionPointDetails.aspx.cs" Inherits="Maintain_supplier_information.ChangeCollectionPointDetails" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style1 {
            height: 30px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div align="center">
    
       <h2>Change Collection Point Details</h2>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" DisplayMode="List" ForeColor="Red" />
        <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
        <table class="table-condensed">
            <tr>
                <td colspan="3" class="auto-style1"><asp:Label ID="lbl_status" runat="server" ForeColor="#3333FF"></asp:Label></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lbl_CollectionPoint" runat="server" Text="Collection Point:"></asp:Label>
                </td>
                <td colspan="2">
                    <asp:DropDownList AutoPostBack="true" ID="ddl_CollectionPoint" runat="server" CssClass="form-control" Width="320px" OnSelectedIndexChanged="ddl_CollectionPoint_SelectedIndexChanged">
            </asp:DropDownList>
                </td>
            </tr>
            <tr><td colspan="3">&nbsp;</td></tr>
            <tr>
                <td>
                     <asp:Label ID="lbl_CollectionDate" runat="server" Text="Collection Date:"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txt_CollectionDate" runat="server" CssClass="form-control" Width="221px" Enabled="False"></asp:TextBox>
                    
                </td>
                <td>
                    <asp:ImageButton ID="btnStartDate" runat="server" CausesValidation="false" Height="22px" ImageUrl="~/Images/calendar.jpg" OnClick="btnStartDate_Click" Width="22px" />
                
                </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td>
                    <asp:Calendar ID="Calendar1" runat="server" OnSelectionChanged="Calendar1_SelectionChanged" Visible="false"></asp:Calendar>
                </td>
                <td>&nbsp;</td>
            </tr>
             <tr>
                <td>
                    <asp:Label ID="lbl_collectpointtime" runat="server" Text="Collection Point Time:"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txt_CollectionPointTime" runat="server" CssClass="form-control" TextMode="Time" ToolTip="hh:mm AM|PM"></asp:TextBox>
                </td>
                <td>                   
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_CollectionPointTime" ErrorMessage="* Collection Point Time is required" ForeColor="Red">*</asp:RequiredFieldValidator>              
                </td>
            </tr>
            <tr><td colspan="3">&nbsp;</td></tr>
            <tr>
                <td colspan="3" align="center">
                    <asp:Button ID="btn_Change" runat="server" OnClick="btn_Change_Click" Text="Change" CssClass="btn-primary" />&nbsp;
                     <asp:Button ID="btn_Cancel" runat="server" Text="Cancel" CssClass="btn-success" CausesValidation="False" OnClick="btn_Cancel_Click" />
                </td>
               
            </tr>
        </table>
        
            </div>
    <br />
</asp:Content>
